package com.tom.rpc.v2.common;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 
 * @author yanghongjun19
 * @date 2021/01/06
 **/

@Data
@AllArgsConstructor
@NoArgsConstructor
public class RpcResponse implements Serializable {
    private String responseId;
    private String requestId;
    private boolean success;
    private Object result;
    private Throwable throwable;
}
